package cn.biplam.common.interfaces;

import java.rmi.RemoteException;

/**
 * 功能 RMI服务基本接口
 * @author WangSong
 * @create Mar 9, 2009 8:40:57 AM
 * @version 1.0
 */
public interface RmiServer {
	public abstract int getCount() throws RemoteException;
	public abstract void lock() throws RemoteException;
	public abstract boolean trylock() throws RemoteException;
	public abstract void unlock() throws RemoteException;
}
